<?php
defined('_JEXEC') or die( 'Restricted access' );
jimport( 'joomla.application.component.controller' );
    class loginController extends JController 
    {
        function __construct( $default = array())	
        {
            parent::__construct( $default );
	}
        
        function display($tpl = null) 
        {   
		$view = JRequest::getCmd('view');
		if(empty($view)) {
                    JRequest::setVar('view', 'dashboard');
		};
		parent::display($tpl);
	}
        
        
        
    }
?>